<?php



require "database.php";


require "../config/config.php";

$base=new Db($__conf__);

$token=$_POST['token'];

$___r___=$base->doSql('select username,nickname,utype,avater,logintime,loginip,token,addtime,status from tp_user where token="'.$token.'"');


return json([
	"code"=>200,
	"msg"=>"Successful",
	"requestDate"=>date("Y-m-d H:i:s"),
	"data"=>$___r___[0]
]);